package com.school.empsys.model;

/**
 * 员工申诉
 */
public class EmpAppeal extends BaseEntity<Integer> {

    /**
     * 工资id
     */
    private Integer salaryId;

    /**
     * 员工id
     */
    private Integer userId;

    /**
     * 申诉理由
     */
    private String reason;

    /**
     * 状态，SUBMIT：提交；
     */
    private String status;

    /**
     * 审批意见
     */
    private String handleOpinion;

    /**
     * 审批人
     */
    private Integer handler;

    private User user;

    public Integer getSalaryId() {
        return salaryId;
    }

    public void setSalaryId(Integer salaryId) {
        this.salaryId = salaryId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason == null ? null : reason.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public String getHandleOpinion() {
        return handleOpinion;
    }

    public void setHandleOpinion(String handleOpinion) {
        this.handleOpinion = handleOpinion == null ? null : handleOpinion.trim();
    }

    public Integer getHandler() {
        return handler;
    }

    public void setHandler(Integer handler) {
        this.handler = handler;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
}